home *** CD-ROM | disk | FTP | other *** search
/ KeyGen Studio 2002 / KeyGen_Studio_2002.iso / Utilities / Web Server Crackerz / Ares Rc4.exe / TestSkin.ini < prev   
INI File  |  2000-06-13  |  16KB  |  434 lines

  1. ;///////////////////////////////////////
  2. ;// GUIGUI SKIN INI FILE
  3. ;// FORMAT:
  4. ;// Each section refers to a specific UI element on the screen.
  5. ;// All sections have the same data key names. Which means (if you
  6. ;// are paying attention) is that you can define offsets and text
  7. ;// colors for radio buttons and etc (now what happens if you do this
  8. ;// depends on how the guigui lib is written).
  9. ;// Key data:
  10. ;// Graphic=filename    the bitmap. Each UI type has a different number
  11. ;//            of images in them.
  12. ;// or Graphic=filename1,filename2,...  the bitmaps, one per each state.
  13. ;// ScalingMode=Edge|Stretch|    if Edge, then EdgeMargins is used.
  14. ;//        None        defaults to Stretch, which scale to fit.
  15. ;//                NOT used for radio, cheboxes, titlebar buttons
  16. ;// EdgeMargins=t,b,l,r        if ScalingMode=Edge, then these values are used
  17. ;//                to compute corners that are NOT scaled; the bits
  18. ;//                in between are scaled to fit.
  19. ;// Offset=x,y    If set, deviate from the Windows default offset for this item.
  20. ;//        This is applied to the upper-left orgin of this object.
  21. ;//        Exception: titlebar buttons are applied from the upper-RIGHT pos.
  22. ;// Adjustment=t,b,l,r    If set, modify the top/bottom/left/right of the control's
  23. ;//            rectangle by these amounts. Generally usefull for groupboxes.
  24. ;// TextColor-?=hexvalue    If set, deviate from the Windows default color for
  25. ;//                this text. The ? applies to the image index (display mode)
  26. ;//                thus if the object has 2 images, -0 and -1 are used. If
  27. ;//                5 images, -0 through -4 are used. Not applied if the object
  28. ;//                has no text. Note that for buttons that give you a focus
  29. ;//                box, this will also affect the color of THAT dashed gizmo.
  30. ;// DrawMode=Transparent|Backcolor|Solid By default, Transparent is used so that the dialog
  31. ;//                    bitmap can be seen through - GUIgui will do a layered
  32. ;//                    draw with the background bitmap. If you have a graphic that
  33. ;//                    does not use the transparent color, or if you want
  34. ;//                    a performance increase, use Backcolor, which uses the
  35. ;//                    dialog background color, which for small transparent areas,
  36. ;//                    should be cool. Backcolor is not recommended for bitmaps
  37. ;//                    with large transparent areas, since they will show up icky.
  38. ;//                    If you have NO transparent colors in the bitmap, use Solid
  39. ;//                    for a performance increase.
  40. ;//
  41.  
  42. [Skin]
  43. Name=G
  44. MinVersion=0.0
  45.  
  46.  
  47. ;// Pushbuttons have 5 images.
  48. ;// 0=normal, 1=pressed (down), 2=disabled, 3=has focus (selected, focus box),
  49. ;// 4=default button in dialog
  50. [Pushbutton]
  51. Graphic=./Ares/GButton.bmp
  52. ScalingMode=Edge
  53. ;ScalingMode=Stretch
  54. EdgeMargins=4,9,4,13
  55. TextColor-0=FFFFFF
  56. TextColor-1=EEEEEE
  57. TextColor-2=C0C0C0
  58. TextColor-3=FFFF90
  59. TextColor-4=90FFFF
  60.  
  61.  
  62. ;// Checkboxes have 4 images.
  63. ;// 0=unchecked, 1=checked, 2=disabled unchecked, 3=disabled checked.
  64. ;// Note that the disabled images are used when the user is transitioning from checked
  65. ;// to unchecked and vice-versa.
  66. ;// Tristate checkboxes are drawn with a 50% background blend of the checked state
  67. ;// Streching and scaling are not done here.
  68. ;// Note that we are using this one as a demo of how to do multiple images for the states.
  69. ;// This is a long line, so scroll over.
  70. [Checkbox]
  71. Graphic=./Ares/GCheck.bmp
  72. TextColor-0=806000
  73. TextColor-1=000000
  74.  
  75.  
  76. ;// Radiobuttons have 4 images.
  77. ;// 0=unselected, 1=selected, 2=disabled unselected, 3=disabled selected.
  78. ;// Note that the disabled images are used when the user is transitioning from selected
  79. ;// to unselected and vice-versa.
  80. ;// Streching and scaling are not done here.
  81. [Radiobutton]
  82. Graphic=./Ares/GRadio.bmp
  83. TextColor-0=806000
  84. TextColor-1=000000
  85.  
  86.  
  87. ;// Progress bars have 2 images.
  88. ;// 0=background (unfilled area), 1=progress (filled area)
  89. ;// Edge and scaling mode are used here, so if you have a beveled bar, you need
  90. ;// to define it right.
  91. ;// Progress bars do not have text.
  92. ;// You should always use Backcolor for progress bars to cut down on flicker
  93. [ProgressBar]
  94. Graphic=./Ares/GProgressBar.bmp
  95. ScalingMode=Edge
  96. ;ScalingMode=Stretch
  97. EdgeMargins=2,3,3,4
  98. DrawMode=Solid
  99.  
  100. [ProgressBar-Ick]
  101. Graphic=./Ares/GProgressBar-Volume-Back.bmp,./Ares/GProgressBar-Volume-Front.bmp
  102. ScalingMode=Edge
  103. ;ScalingMode=Stretch
  104. EdgeMargins=2,2,2,2
  105.  
  106.  
  107.  
  108. ;// Static text items do not have any bitmaps, but do have colors.
  109. ;// 0 is normal, 1 is disabled.
  110. ;// If you do not define them, it uses the default system colors.
  111. [Static text]
  112. TextColor-0=000000
  113. TextColor-1=7B5B7B
  114.  
  115.  
  116.  
  117. ;// Groupboxes basically are a window frame, so we just treat it the same.
  118. ;// Groupboxes have two states: 0 is normal, 1 is disabled. They do not
  119. ;// have a focus style.
  120. ;// The text can be drawn in different colors, of course.
  121.  
  122. ;// The graphic for the text area is used to fill in the background. It is
  123. ;// generally not used, but can be!
  124. ;// Offset is used to position the text within the graphic area (or within
  125. ;// the actual top frame).
  126. ;// Note the Adjustment's are used in the top and bottom edges to account for the width
  127. ;// of the left and right graphic.
  128.  
  129. [Groupbox Top Edge]
  130. Graphic=./Ares/GGroup-Top.bmp,./Ares/GGroup-Top.bmp
  131. ScalingMode=Edge
  132. EdgeMargins=2,3,10,13
  133. Adjustment=0,0,4,-4
  134. DrawMode=Transparent
  135.  
  136. ;// The title text for the groupbox may optionally have a background text graphic.
  137. ;// The graphic is positioned, drawn, and then the text is positioned relative to THIS
  138. ;// graphic and then drawn. If no graphic is defined, then the text is positioned relative
  139. ;// to the Top Edge (ie: no TTB, no offset, duh)
  140. ;// Note that you can have an offset and adjustment even if there is no graphic!
  141. [Groupbox Title Text Background]
  142. ;Graphic=GGroup-Text.bmp,GGroup-Text.bmp
  143. ;ScalingMode=Edge
  144. ;EdgeMargins=4,4,3,4
  145. Offset=4,1
  146. DrawMode=Solid
  147.  
  148. ;// Offset is used to position the text
  149. [Groupbox Title Text]
  150. TextColor-0=FFFFFF
  151. TextColor-1=7B5B7B
  152. ;Offset=3,0
  153. ;Adjustment=-1,1,0,0
  154.  
  155. [Groupbox Bottom Edge]
  156. Graphic=./Ares/GGroup-Bottom.bmp,./Ares/GGroup-Bottom.bmp
  157. ScalingMode=Edge
  158. EdgeMargins=1,1,1,1
  159. Adjustment=0,0,4,-4
  160.  
  161. [Groupbox Left Edge]
  162. Graphic=./Ares/GGroup-Left.bmp,./Ares/GGroup-Left.bmp
  163. ScalingMode=Edge
  164. EdgeMargins=20,5,0,0
  165. ;Adjustment=4,0,0,0
  166.  
  167. [Groupbox Right Edge]
  168. Graphic=./Ares/GGroup-Right.bmp,./Ares/GGroup-Right.bmp
  169. ScalingMode=Edge
  170. EdgeMargins=20,5,0,0
  171. ;Adjustment=4,0,0,0
  172.  
  173.  
  174.  
  175. ;// Trackbars come in lots of flavors. LR, TB, different types of pointers,
  176. ;// hash marks, etc. So you have to define a wad of stuff, and the actual logic
  177. ;// can get pretty hairy.
  178. ;// Note that for this we do not currently deal with the TICKS style.
  179. ;// Most applications will not care about the size and shape of the actual slider.
  180. ;// However, there is support for changing the size of the slider if you use
  181. ;// TBS_FIXEDLENGTH. We do not currently support this, but will probably do so
  182. ;// in the future.
  183. ;// If any of the following are used in the style, we do not hook:
  184. ;// TBS_FIXEDLENGTH
  185.  
  186.  
  187. ;// The channel comes in two styles: Left/Right and Top/Bottom, each having 3
  188. ;// images: 0=unselected, 1=selected, 2=disabled
  189. ;// Note that the channel is centered OVER the place that Windows will use.
  190. ;// If you want to adjust this, change the Offset value.
  191. ;// Suggest using Solid drawmode in order to stop flicker; we don't here in order
  192. ;// to show the transparent
  193. [Trackbar LR Channel]
  194. Graphic=./Ares/GTrackbar-LR-Back.bmp
  195. Offset=0,0
  196. ScalingMode=Edge
  197. EdgeMargins=2,2,2,2
  198. DrawMode=Transparent
  199.  
  200. ;// To see the effect of solid vs transparent, open the Slider test dialog and notice the flicker
  201. ;// in the lr vs tb sliders with selection areas.
  202. [Trackbar TB Channel]
  203. Graphic=./Ares/GTrackbar-TB-Back.bmp
  204. Offset=0,0
  205. ScalingMode=Edge
  206. EdgeMargins=2,2,2,2
  207. DrawMode=Solid
  208.  
  209. ;// Trackbars also can have a "selection" (which is never used by anyone as far
  210. ;// as we can tell) that highlights a section. Recommend NOT using the Offset
  211. ;// for this, but DO use the Adjustment to shrink the top & bottom inwards.
  212. ;// This is drawn overtop of the Channel graphic.
  213. ;// Always use Solid drawmode in order to stop flicker unles you have transparents.
  214. [Trackbar LR Channel Selection]
  215. Graphic=./Ares/GTrackbar-LR-Back-Sel.bmp
  216. Offset=0,0
  217. Adjustment=3,-3,0,1
  218. ScalingMode=Edge
  219. EdgeMargins=1,1,1,1
  220. DrawMode=Solid
  221.  
  222. [Trackbar TB Channel Selection]
  223. Graphic=./Ares/GTrackbar-TB-Back-Sel.bmp
  224. Offset=0,0
  225. Adjustment=0,1,3,-3
  226. ScalingMode=Edge
  227. EdgeMargins=1,1,1,1
  228. DrawMode=Solid
  229.  
  230. ;// The selecting control on the trackbar is referred to as the Slider,
  231. ;// which is similar to the scrollbar. Generally, the control is a rectangle
  232. ;// that is stretched to fit. However, you can define a shape that does not
  233. ;// stretch (like a pancake) so that it does not resize up.
  234. ;// Note that the thumb is also is centered OVER the place that Windows will use.
  235. ;// If you want to adjust this, change the Offset value.
  236. ;// Thumbs have 3 images: 0=unselected, 1=selected, 2=disabled
  237. [Trackbar LR Slider]
  238. Graphic=./Ares/GTrackbar-LR-Slider.bmp
  239. Offset=0,0
  240. ScalingMode=None
  241.  
  242. [Trackbar TB Slider]
  243. Graphic=./Ares/GTrackbar-TB-Slider.bmp
  244. Offset=0,0
  245. ScalingMode=None
  246.  
  247. ;// Optional slider used when "Point" is set to Top. If not set, defer to base.
  248. [Trackbar LR Slider TopPoint]
  249. Graphic=./Ares/GTrackbar-LR-Slider-TP.bmp
  250. Offset=0,0
  251. ScalingMode=None
  252.  
  253. ;// Optional slider used when "Point" is set to Bottom. If not set, defer to base.
  254. [Trackbar LR Slider BottomPoint]
  255. Graphic=./Ares/GTrackbar-LR-Slider-BP.bmp
  256. Offset=0,0
  257. ScalingMode=None
  258.  
  259. ;// Optional slider used when "Point" is set to Left. If not set, defer to base.
  260. [Trackbar TB Slider LeftPoint]
  261. Graphic=./Ares/GTrackbar-TB-Slider-LP.bmp
  262. Offset=0,0
  263. ScalingMode=None
  264.  
  265. ;// Optional slider used when "Point" is set to Right. If not set, defer to base.
  266. [Trackbar TB Slider RightPoint]
  267. Graphic=./Ares/GTrackbar-TB-Slider-RP.bmp
  268. Offset=0,0
  269. ScalingMode=None
  270.  
  271. ;// Window title backgrounds have 2 images
  272. ;// 0=active state, 1=inactive state.
  273. ;// Backgrounds do not have text.
  274. ;// Offset is used to determine where to place the icon and Title Text Background at,
  275. ;// relative to THIS bitmap. The icon is placed first, then the TTB after that (+Y ignored).
  276. ;// If there is no icon, then the TTB is placed at the offset position.
  277. [Window Title Background]
  278. Graphic=./Ares/GWindowTitleBackground.bmp
  279. ScalingMode=Edge
  280. ;ScalingMode=Stretch
  281. EdgeMargins=2,3,10,13
  282. Offset=7,2
  283. DrawMode=Solid
  284.  
  285.  
  286. ;// Window title texts have 2 images
  287. ;// 0=active state, 1=inactive state.
  288. ;// Offset is used to place where the text is at, relative to THIS bitmap.
  289. ;// This bitmap is always placed to the right of the icon (if any) of the title background,
  290. ;// and extends to the edge of the window, or if there are system buttons in the titlebar,
  291. ;// to the leftmost edge of these.
  292. ;// Define text color for -0 and -1 (active,inactive) so that your users can be happy.
  293. [Window Title Text]
  294. Graphic=./Ares/GWindowTextBackground.bmp
  295. ScalingMode=Edge
  296. ;ScalingMode=Stretch
  297. EdgeMargins=2,2,1,5
  298. Offset=2,2
  299. TextColor-0=FFFFFF
  300. TextColor-1=5B5B5B
  301. DrawMode=Solid
  302.  
  303.  
  304. ;// Windows titlebars may optionally have a button background area.
  305. ;// This is useful when you have a titlebar bitmap that has a distint area
  306. ;// that the buttons go, but you want a division edge on it.
  307. ;// 0=active state, 1=inactive state.
  308. ;// Offset is used to place this bitmap relative to the rightmost edge of the titlebar
  309. ;// bitmap. This is generally used to adjust the left-edge of this border to line up with
  310. ;// the text or title background graphics.
  311. ;// Define text color for -0 and -1 (active,inactive) so that your users can be happy.
  312. [Window Title Button Background]
  313. Graphic=./Ares/GWindowButtonsBackground.bmp
  314. ScalingMode=Edge
  315. ;ScalingMode=Stretch
  316. EdgeMargins=2,2,5,1
  317. Offset=0,0
  318. DrawMode=Solid
  319.  
  320.  
  321. ;// Window close button (the X box) has 6 images.
  322. ;// 0=active window, up. 1=active window, down. 2=active window, transition/rollover
  323. ;// 3=inactive window, up. 4=inactive window, down. 5=inactive window, transition/rollover
  324. ;// Offset is used to place the bitmap RELATIVE to the the TOP RIGHT EDGE of the window's
  325. ;// titlebar. Be sure to account for the width of the bitmap.
  326. ;// There is no disabled state.
  327. ;// Windows title buttons do not have text.
  328. [Window Close]
  329. Graphic=./Ares/GWindowClose.bmp
  330. Offset=-10,3
  331. DrawMode=Transparent
  332.  
  333.  
  334.  
  335. ;// Window minimize button (the underline box) also has 6 images.
  336. ;// 0=active window, up. 1=active window, down. 2=active window, transition/rollover
  337. ;// 3=inactive window, up. 4=inactive window, down. 5=inactive window, transition/rollover
  338. ;// Offset is used to place the bitmap RELATIVE to the the TOP RIGHT EDGE of the window's
  339. ;// titlebar. Be sure to account for the width of the bitmap.
  340. ;// There is no disabled state.
  341. ;// Windows title buttons do not have text.
  342. [Window Minimize]
  343. Graphic=./Ares/GWindowMin.bmp
  344. Offset=-32,3
  345. DrawMode=Transparent
  346.  
  347.  
  348.  
  349. ;// Window maximize button (the open/stacked boxes box) also has 6 images. This is almost
  350. ;// the same as the other two buttons, however, this button is a toggle between 0/2 & 3/5
  351. ;// 0=active window, non max state (where an open box would be shown).
  352. ;// 1=active window, clicked down.
  353. ;// 2=active window, maxed state (where two stacked boxes would be shown).
  354. ;// 3=inactive window, non max state (where an open box would be shown).
  355. ;// 4=inactive window, clicked down.
  356. ;// 5=inactive window, maxed state (where two stacked boxes would be shown).
  357. ;// Note that for rollover effects, we simply flip 0/2 & 3/5.
  358. ;// Offset is used to place the bitmap RELATIVE to the the TOP RIGHT EDGE of the window's
  359. ;// titlebar. Be sure to account for the width of the bitmap.
  360. ;// There is no disabled state.
  361. ;// Windows title buttons do not have text.
  362. [Window Maximize]
  363. Graphic=./Ares/GWindowMax.bmp
  364. Offset=-21,3
  365. DrawMode=Transparent
  366.  
  367.  
  368.  
  369. ;// Dialog backgrounds only have one image. By default, this is tiled to fill the entire
  370. ;// dialog. If you use stretch, it will probably look terrible, unless it's a solid color.
  371. ;// Edge mode probably should never be used, unless you have some very oddball bitmap.
  372. [Dialog Background]
  373. ;Graphic=GDialogBackground-Transparent Testing.bmp
  374. Graphic=./Ares/GDialogBackground.bmp
  375. ;We use the pink one to check for the bleedthrough of various items.
  376. ScalingMode=Tile
  377. ;ScalingMode=Edge
  378. ;ScalingMode=Stretch
  379. ;EdgeMargins=0,0,0,0
  380. DrawMode=Solid
  381.  
  382.  
  383.  
  384. ;// There are three window frame styles: Dialog Frame (thick, no resize),
  385. ;// Thin (no resize), and Resizing (has resize areas).
  386. ;// Window edges/frames have 2 images
  387. ;// 0=active state, 1=inactive state.
  388. ;// Note that for this example, I'm using the bitmap list to use the same bitmap
  389. ;// twice, for each state, since this particular skin does not have different inactive
  390. ;// frame designs. For your own frame designs, you will probably want to do use the
  391. ;// standard imagelist bitmap style or two different bitmaps.
  392. ;// You will almost always want to use Edge mode to stretch the center.
  393. ;// You will almost always want to use 0,0 for the left and right edge.
  394. [Window (Dialog Frame) Left Edge]
  395. Graphic=./Ares/GDialogLeftEdge.bmp,./Ares/GDialogLeftEdge.bmp
  396. ScalingMode=Edge
  397. EdgeMargins=20,5,0,0
  398. DrawMode=Solid
  399.  
  400. [Window (Dialog Frame) Right Edge]
  401. Graphic=./Ares/GDialogRightEdge.bmp,./Ares/GDialogRightEdge.bmp
  402. ScalingMode=Edge
  403. EdgeMargins=20,5,0,0
  404. DrawMode=Solid
  405.  
  406. [Window (Dialog Frame) Bottom Edge]
  407. Graphic=./Ares/GDialogBottomEdge.bmp,./Ares/GDialogBottomEdge.bmp
  408. ScalingMode=Edge
  409. EdgeMargins=0,0,5,5
  410. DrawMode=Solid
  411.  
  412.  
  413. ;// For resizing frames, the edges margins should be enough to cover the gripper spots.
  414. [Window (Resize Frame) Left Edge]
  415. Graphic=./Ares/GResizeLeftEdge.bmp,./Ares/GResizeLeftEdge.bmp
  416. ScalingMode=Edge
  417. EdgeMargins=20,15,0,0
  418. DrawMode=Solid
  419.  
  420. [Window (Resize Frame) Right Edge]
  421. Graphic=./Ares/GResizeRightEdge.bmp,./Ares/GResizeRightEdge.bmp
  422. ScalingMode=Edge
  423. EdgeMargins=20,15,0,0
  424. DrawMode=Solid
  425.  
  426. [Window (Resize Frame) Bottom Edge]
  427. Graphic=./Ares/GResizeBottomEdge.bmp,./Ares/GResizeBottomEdge.bmp
  428. ScalingMode=Edge
  429. EdgeMargins=0,0,15,15
  430. DrawMode=Solid
  431.  
  432.  
  433.  
  434.